﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Nop.Core.Domain.Media
{
    public class PictureLinkCollection : BaseEntity
    {
        private ICollection<PictureLink> _pictureLinks;

        public virtual string RelatedContentCategory { get; set; }

        public virtual int RelatedContentId { get; set; }

        public virtual PictureDisplayType PictureDisplayType { get; set; }

        public virtual string SystemName { get; set; }

        public virtual ICollection<PictureLink> PictureLinks
        {
            get { return _pictureLinks ?? (_pictureLinks = new List<PictureLink>()); }
            protected set { _pictureLinks = value; }
        }
    }

    [Flags]
    public enum PictureDisplayType : int
    {
        None = 0x00,
        Slideshow = 0x01,
        StaticLink = 0x02,
        HomePageTop = 0x04,
        StorePageTop = 0x08,
        HomePageLeft = 0x10
    }
}
